/**
 * <p>
 *
 * @Author：Roy
 * @Description：设备管理
 * @Date：Create by 2023-11-30 18:51:39
 */
import request from '@/utils/request'

export default {
  // 分页查询
  queryList(data) {
    return request({
      url: '/energy-carbon/ecp-admin/carbonEmissionRange/queryPage',
      method: 'post',
      data
    })
  },
  // 新增
  add(data) {
    return request({
      url: '/energy-carbon/ecp-admin/carbonEmissionRange/add',
      method: 'post',
      data
    })
  },
  // 编辑
  update(data) {
    return request({
      url: '/energy-carbon/ecp-admin/carbonEmissionRange/update',
      method: 'post',
      data
    })
  },
  // 删除
  deleteById(data) {
    return request({
      url: '/energy-carbon/ecp-admin/carbonEmissionRange/deleteById',
      method: 'post',
      data
    })
  },
  // 批量删除
  batchDelete(data) {
    return request({
      url: '/energy-carbon/ecp-admin/carbonEmissionRange/batchDelete',
      method: 'post',
      data
    })
  }
}
